package com.hs.jhzd.repository;

import com.hs.jhzd.entity.Jh_zjlzjlb;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

@Repository
public interface Jh_zjlzjlbRepository extends JpaRepository<Jh_zjlzjlb,String> {
    @Query(value="select ZYBH from jh_zjlzjlb order by ZYBH DESC limit  1",nativeQuery=true)
    String findZybh();
}
